﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using EFDataModel.Enums;

namespace EFDataModel
{
    /// <summary>
    /// BenutzerTitel, .z.b. Mann, Frau, Familie, ...
    /// </summary>
    public partial class UserTitle
    {
        #region Static
        #endregion

        #region Properties
        /// <summary>
        /// Setzten des passenden Typs für diesen Wert
        /// </summary>
        public EUserTitles EUserTitle
        {
            get { return (EUserTitles) Enum.Parse(typeof (EUserTitles), this.TypeId.ToString()); }
            set { TypeId = (int) value; }
        }
        #endregion


        #region Public Functions

        #endregion
    }
}
